/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  dev                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      sampleSprinklerDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

sprinkler   sampleSprinkler;
kFactor     16.8; // Imperial units [gpm/psi^0.5]
radius      0.762; // m, measurement location (not necessarily injeciton location)
nEle        7;
nAzi        6;

orientation pendent;

pressures
{
    p25
    {
        pressure 25.0; // psig

        phi // azimuthal (deg)
        List<scalar>
        42
        (
             0  0  0  0  0  0  0
            20 20 20 20 20 20 20
            40 40 40 40 40 40 40
            60 60 60 60 60 60 60
            80 80 80 80 80 80 80
            90 90 90 90 90 90 90
        );
        theta // elevation (deg)
        List<scalar>
        42
        (
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
        );
        volFlux // L/m2/s
        List<scalar>
        42
        (
            0.9 5.1 1.0 1.3 2.0 5.9 20.
            0.0 1.3 0.8 1.0 2.1 6.1 20.
            0.2 2.3 1.0 1.2 1.7 6.0 20.
            0.4 2.5 0.6 0.6 1.3 6.1 20.
            0.4 3.0 1.3 1.6 1.9 6.4 20.
            0.8 2.1 0.5 0.7 1.5 6.3 20.
        );
        dv50 // mm
        List<scalar>
        42
        (
            1.6 1.4 0.6 0.7 1.0 1.3 4.
            0.0 0.9 0.5 0.7 1.0 1.1 4.
            1.8 1.0 0.3 0.3 0.5 0.9 4.
            1.1 1.1 0.2 0.3 0.8 1.0 4.
            1.6 1.3 0.6 0.8 1.0 0.9 4.
            1.4 1.2 0.2 0.1 0.4 0.7 4.
         );
        velMag // m/s
        List<scalar>
        42
        (
            6. 4. 5. 5. 6. 8. 9.
            0. 6. 4. 6. 7. 7. 9.
            5. 6. 3. 3. 4. 5. 9.
            7. 6. 3. 3. 5. 5. 9.
            3. 6. 6. 7. 5. 5. 9.
            6. 7. 3. 2. 4. 6. 9.
        );
    }

    p50
    {
        pressure 50.0; // psig

        phi // azimuthal (deg)
        List<scalar>
        42
        (
             0  0  0  0  0  0  0
            20 20 20 20 20 20 20
            40 40 40 40 40 40 40
            60 60 60 60 60 60 60
            80 80 80 80 80 80 80
            90 90 90 90 90 90 90
        );
        theta // elevation (deg)
        List<scalar>
        42
        (
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
        );
        volFlux // L/m2/s
        List<scalar>
        42
        (
            1. 6. 1. 1. 2. 7. 30.
            0. 0. 1. 1. 2. 8. 30.
            0. 3. 2. 2. 2. 8. 30.
            0. 3. 1. 0. 1. 7. 30.
            0. 4. 2. 2. 2. 8. 30.
            0. 3. 0. 0. 1. 7. 30.
        );
        dv50 // mm
        List<scalar>
        42
        (
            0.8 0.7 0.4 0.3 0.6 0.9 2.
            0.0 0.6 0.4 0.4 0.8 0.9 2.
            0.6 0.6 0.3 0.2 0.2 0.5 2.
            0.7 0.8 0.1 0.2 0.5 0.7 2.
            0.6 0.8 0.5 0.6 0.7 0.7 2.
            0.7 0.8 0.1 0.1 0.2 0.4 2.
         );
        velMag // m/s
        List<scalar>
        42
        (
            5. 6. 5.  5.  8.  9. 10.
            0. 5. 4.  6. 12. 10. 10.
            4. 6. 4.  5.  5.  6. 10.
            6. 6. 3.  2.  7. 10. 10.
            6. 7. 9. 11. 10. 10. 10.
            7. 7. 4.  3.  5.  8. 10.
        );
    }

    p75
    {
        pressure 75.0; // psig

        phi // azimuthal (deg)
        List<scalar>
        42
        (
             0  0  0  0  0  0  0
            20 20 20 20 20 20 20
            40 40 40 40 40 40 40
            60 60 60 60 60 60 60
            80 80 80 80 80 80 80
            90 90 90 90 90 90 90
        );
        theta // elevation (deg)
        List<scalar>
        42
        (
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
            0 15 30 45 65 75 90
        );
        volFlux // L/m2/s
        List<scalar>
        42
        (
            1. 7. 2. 2. 3. 8. 30.
            0. 0. 1. 2. 3. 8. 30.
            0. 2. 3. 2. 3. 8. 30.
            0. 3. 2. 0. 2. 8. 30.
            0. 3. 4. 2. 3. 8. 30.
            0. 3. 1. 1. 2. 9. 30.
        );
        dv50 // mm
        List<scalar>
        42
        (
            0.7 0.6 0.4 0.3 0.4 0.6 2.
            0.0 0.5 0.4 0.3 0.6 0.6 2.
            0.4 0.5 0.4 0.2 0.1 0.3 2.
            0.6 0.5 0.1 0.1 0.2 0.6 2.
            0.3 0.5 0.3 0.4 0.5 0.5 2.
            0.5 0.5 0.1 0.1 0.1 0.3 2.
         );
        velMag // m/s
        List<scalar>
        42
        (
            5. 7. 6.  4.  9. 10. 10.
            0. 4. 4.  5. 11. 11. 10.
            3. 7. 4.  5.  5.  7. 10.
            6. 6. 5.  2.  4. 10. 10.
            2. 8. 8. 12. 12. 11. 10.
            5. 7. 5.  4.  5.  8. 10.
        );
    }

}

